<ion-view view-title="权限管理">
    <ion-nav-buttons side="left">
        <back-button></back-button>
    </ion-nav-buttons>
    <ion-content ng-class="{'has-loading': isOffline}">
        <ul class="list Mt15">
            <li class="item item-icon-right"
                ng-repeat="jurisdiction in jurisdictions">
                <label>
                    <span ng-if="$first">沪市</span><span ng-if="$last">深市</span>市场
                </label>
                <p ng-if="jurisdiction.isOpen==2"
                   class="Mt5">
                    <label class="placeholder">
                        申请时间：
                        <span bo-text="jurisdiction.date | date:'yyyy-MM-dd'"></span>
                    </label>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <a class="positive"
                       bo-href="jurisdiction.href">
                        查看协议
                    </a>
                    <i class="badge light ytf-bg Mt25 fs0"
                       style="font-weight: normal">
                        已开通
                    </i>
                </p>
                <p ng-if="jurisdiction.isOpen==0"
                   class="Mt5">
                    <a class="clr2"
                       bo-href="jurisdiction.href">
                        申请开通
                    </a>
                    <i class="badge light ytf-bgd Mt25 fs0"
                       style="font-weight: normal">
                        未开通
                    </i>
                </p>
                <p ng-if="jurisdiction.isOpen==1"
                   class="Mt5">
                    <i class="badge light ytf-bgd Mt25 fs0"
                       style="font-weight: normal">
                        开通中
                    </i>
                </p>
            </li>
        </ul>
    </ion-content>
</ion-view>i